package biz.obake.team.touchprotector.tpas;

import android.app.Service;
import android.content.Intent;
import android.os.Handler;
import android.os.IBinder;
import biz.obake.team.touchprotector.b;
import biz.obake.team.touchprotector.g.c;

public class TPBridgeService extends Service {
    /* access modifiers changed from: private */

    /* renamed from: b  reason: collision with root package name */
    public Handler f1787b = new Handler();

    /* renamed from: c  reason: collision with root package name */
    private b.a f1788c = new a();

    class a extends b.a {

        /* renamed from: biz.obake.team.touchprotector.tpas.TPBridgeService$a$a  reason: collision with other inner class name */
        class C0084a implements Runnable {

            /* renamed from: b  reason: collision with root package name */
            final /* synthetic */ String f1790b;

            /* renamed from: c  reason: collision with root package name */
            final /* synthetic */ String f1791c;

            C0084a(a aVar, String str, String str2) {
                this.f1790b = str;
                this.f1791c = str2;
            }

            public void run() {
                c.g(this.f1790b, this.f1791c);
            }
        }

        a() {
        }

        public String Q() {
            return c.c("TPService.State");
        }

        public void X() {
            biz.obake.team.touchprotector.d.e.b.h();
        }

        public void c0(String str, String str2) {
            TPBridgeService.this.f1787b.post(new C0084a(this, str, str2));
        }

        public boolean d0(int i, int i2, int i3, boolean z, long j) {
            return biz.obake.team.touchprotector.d.e.b.c(i, i2, i3, z, j);
        }

        public void g0(String str) {
            biz.obake.team.touchprotector.log.a.b().d(str);
        }
    }

    public IBinder onBind(Intent intent) {
        return this.f1788c;
    }
}
